package com.pro.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class JsCarousel {

  private Integer carouselId;  //主键id
  private String imgAddress; //图片url路径
  private String imgTitle;//图片标题
  private String imgType;//图片类型 2、商品  3、视频
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date startDate;//开始时间
  private String startDatee;//开始时间
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date expireDate;//到期时间
  private String expireDatee;//到期时间
  private Integer display;//是否显示，2显示，3不显示
  private Integer serialNumber;//序号
  private String describe;//描述
  private String createId;//创建人
  private String remarks;//备注
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date updateDate;//修改时间
  private String updateDatee;//修改时间
  private String bannerName;//轮播图名称
  private String trueName;//创建人名称

  public JsCarousel() {
    super();
  }

  public JsCarousel(Integer carouselId, String imgAddress, String imgTitle, String imgType, Date startDate, String startDatee, Date expireDate, String expireDatee, Integer display, Integer serialNumber, String describe, String createId, String remarks, Date updateDate, String updateDatee, String bannerName, String trueName) {
    this.carouselId = carouselId;
    this.imgAddress = imgAddress;
    this.imgTitle = imgTitle;
    this.imgType = imgType;
    this.startDate = startDate;
    this.startDatee = startDatee;
    this.expireDate = expireDate;
    this.expireDatee = expireDatee;
    this.display = display;
    this.serialNumber = serialNumber;
    this.describe = describe;
    this.createId = createId;
    this.remarks = remarks;
    this.updateDate = updateDate;
    this.updateDatee = updateDatee;
    this.bannerName = bannerName;
    this.trueName = trueName;
  }

  public Integer getCarouselId() {
    return carouselId;
  }

  public void setCarouselId(Integer carouselId) {
    this.carouselId = carouselId;
  }

  public String getImgAddress() {
    return imgAddress;
  }

  public void setImgAddress(String imgAddress) {
    this.imgAddress = imgAddress;
  }

  public String getImgTitle() {
    return imgTitle;
  }

  public void setImgTitle(String imgTitle) {
    this.imgTitle = imgTitle;
  }

  public String getImgType() {
    return imgType;
  }

  public void setImgType(String imgType) {
    this.imgType = imgType;
  }

  public Date getStartDate() {
    return startDate;
  }

  public void setStartDate(Date startDate) {
    this.startDate = startDate;
  }

  public String getStartDatee() {
    return startDatee;
  }

  public void setStartDatee(String startDatee) {
    this.startDatee = startDatee;
  }

  public Date getExpireDate() {
    return expireDate;
  }

  public void setExpireDate(Date expireDate) {
    this.expireDate = expireDate;
  }

  public String getExpireDatee() {
    return expireDatee;
  }

  public void setExpireDatee(String expireDatee) {
    this.expireDatee = expireDatee;
  }

  public Integer getDisplay() {
    return display;
  }

  public void setDisplay(Integer display) {
    this.display = display;
  }

  public Integer getSerialNumber() {
    return serialNumber;
  }

  public void setSerialNumber(Integer serialNumber) {
    this.serialNumber = serialNumber;
  }

  public String getDescribe() {
    return describe;
  }

  public void setDescribe(String describe) {
    this.describe = describe;
  }

  public String getCreateId() {
    return createId;
  }

  public void setCreateId(String createId) {
    this.createId = createId;
  }

  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  public Date getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(Date updateDate) {
    this.updateDate = updateDate;
  }

  public String getUpdateDatee() {
    return updateDatee;
  }

  public void setUpdateDatee(String updateDatee) {
    this.updateDatee = updateDatee;
  }

  public String getBannerName() {
    return bannerName;
  }

  public void setBannerName(String bannerName) {
    this.bannerName = bannerName;
  }

  public String getTrueName() {
    return trueName;
  }

  public void setTrueName(String trueName) {
    this.trueName = trueName;
  }

  @Override
  public String toString() {
    return "JsCarousel{" +
            "carouselId=" + carouselId +
            ", imgAddress='" + imgAddress + '\'' +
            ", imgTitle='" + imgTitle + '\'' +
            ", imgType='" + imgType + '\'' +
            ", startDate=" + startDate +
            ", startDatee='" + startDatee + '\'' +
            ", expireDate=" + expireDate +
            ", expireDatee='" + expireDatee + '\'' +
            ", display=" + display +
            ", serialNumber=" + serialNumber +
            ", describe='" + describe + '\'' +
            ", createId='" + createId + '\'' +
            ", remarks='" + remarks + '\'' +
            ", updateDate=" + updateDate +
            ", updateDatee='" + updateDatee + '\'' +
            ", bannerName='" + bannerName + '\'' +
            ", trueName='" + trueName + '\'' +
            '}';
  }
}
